
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGTexGenChunk.h>
#include <OpenSG/OSGTexGenChunkBase.h>
#include <OsgPtrHelpers.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================
namespace  {

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_TexGenChunk_dump_overloads_0_2, dump, 0, 2)

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_TexGenChunk_activate_overloads_1_2, activate, 1, 2)

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_TexGenChunk_changeFrom_overloads_2_3, changeFrom, 2, 3)

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_TexGenChunk_deactivate_overloads_1_2, deactivate, 1, 2)


}// namespace


// Module ======================================================================
void Export_src_pyste_gen_TexGenChunk()
{
    scope* osg_TexGenChunkBase_scope = new scope(
    class_< osg::TexGenChunkBase, bases< osg::StateChunk > , boost::noncopyable >("TexGenChunkBase", no_init)
//        .def_readonly("GenFuncSFieldMask", &osg::TexGenChunkBase::GenFuncSFieldMask)
//        .def_readonly("GenFuncTFieldMask", &osg::TexGenChunkBase::GenFuncTFieldMask)
//        .def_readonly("GenFuncRFieldMask", &osg::TexGenChunkBase::GenFuncRFieldMask)
//        .def_readonly("GenFuncQFieldMask", &osg::TexGenChunkBase::GenFuncQFieldMask)
//        .def_readonly("GenFuncSPlaneFieldMask", &osg::TexGenChunkBase::GenFuncSPlaneFieldMask)
//        .def_readonly("GenFuncTPlaneFieldMask", &osg::TexGenChunkBase::GenFuncTPlaneFieldMask)
//        .def_readonly("GenFuncRPlaneFieldMask", &osg::TexGenChunkBase::GenFuncRPlaneFieldMask)
//        .def_readonly("GenFuncQPlaneFieldMask", &osg::TexGenChunkBase::GenFuncQPlaneFieldMask)
//        .def_readonly("SBeaconFieldMask", &osg::TexGenChunkBase::SBeaconFieldMask)
//        .def_readonly("TBeaconFieldMask", &osg::TexGenChunkBase::TBeaconFieldMask)
//        .def_readonly("RBeaconFieldMask", &osg::TexGenChunkBase::RBeaconFieldMask)
//        .def_readonly("QBeaconFieldMask", &osg::TexGenChunkBase::QBeaconFieldMask)
//        .def_readonly("MTInfluenceMask", &osg::TexGenChunkBase::MTInfluenceMask)
        .def("getClassType", &osg::TexGenChunkBase::getClassType, return_internal_reference< 1 >())
        .def("getClassTypeId", &osg::TexGenChunkBase::getClassTypeId)
        .def("getType", (osg::FieldContainerType& (osg::TexGenChunkBase::*)() )&osg::TexGenChunkBase::getType, return_internal_reference< 1 >())
        .def("getType", (const osg::FieldContainerType& (osg::TexGenChunkBase::*)() const)&osg::TexGenChunkBase::getType, return_internal_reference< 1 >())
        .def("getContainerSize", &osg::TexGenChunkBase::getContainerSize)
        //.def("getGenFuncS", (GLenum& (osg::TexGenChunkBase::*)() )&osg::TexGenChunkBase::getGenFuncS, return_value_policy< copy_const_reference >())
        .def("getGenFuncS", (const GLenum& (osg::TexGenChunkBase::*)() const)&osg::TexGenChunkBase::getGenFuncS, return_value_policy< copy_const_reference >())
        //.def("getGenFuncT", (GLenum& (osg::TexGenChunkBase::*)() )&osg::TexGenChunkBase::getGenFuncT, return_value_policy< copy_const_reference >())
        .def("getGenFuncT", (const GLenum& (osg::TexGenChunkBase::*)() const)&osg::TexGenChunkBase::getGenFuncT, return_value_policy< copy_const_reference >())
        //.def("getGenFuncR", (GLenum& (osg::TexGenChunkBase::*)() )&osg::TexGenChunkBase::getGenFuncR, return_value_policy< copy_const_reference >())
        .def("getGenFuncR", (const GLenum& (osg::TexGenChunkBase::*)() const)&osg::TexGenChunkBase::getGenFuncR, return_value_policy< copy_const_reference >())
        //.def("getGenFuncQ", (GLenum& (osg::TexGenChunkBase::*)() )&osg::TexGenChunkBase::getGenFuncQ, return_value_policy< copy_const_reference >())
        .def("getGenFuncQ", (const GLenum& (osg::TexGenChunkBase::*)() const)&osg::TexGenChunkBase::getGenFuncQ, return_value_policy< copy_const_reference >())
        //.def("getGenFuncSPlane", (osg::Vec4f& (osg::TexGenChunkBase::*)() )&osg::TexGenChunkBase::getGenFuncSPlane, return_value_policy< copy_const_reference >())
        .def("getGenFuncSPlane", (const osg::Vec4f& (osg::TexGenChunkBase::*)() const)&osg::TexGenChunkBase::getGenFuncSPlane, return_value_policy< copy_const_reference >())
        //.def("getGenFuncTPlane", (osg::Vec4f& (osg::TexGenChunkBase::*)() )&osg::TexGenChunkBase::getGenFuncTPlane, return_value_policy< copy_const_reference >())
        .def("getGenFuncTPlane", (const osg::Vec4f& (osg::TexGenChunkBase::*)() const)&osg::TexGenChunkBase::getGenFuncTPlane, return_value_policy< copy_const_reference >())
        //.def("getGenFuncRPlane", (osg::Vec4f& (osg::TexGenChunkBase::*)() )&osg::TexGenChunkBase::getGenFuncRPlane, return_value_policy< copy_const_reference >())
        .def("getGenFuncRPlane", (const osg::Vec4f& (osg::TexGenChunkBase::*)() const)&osg::TexGenChunkBase::getGenFuncRPlane, return_value_policy< copy_const_reference >())
        //.def("getGenFuncQPlane", (osg::Vec4f& (osg::TexGenChunkBase::*)() )&osg::TexGenChunkBase::getGenFuncQPlane, return_value_policy< copy_const_reference >())
        .def("getGenFuncQPlane", (const osg::Vec4f& (osg::TexGenChunkBase::*)() const)&osg::TexGenChunkBase::getGenFuncQPlane, return_value_policy< copy_const_reference >())
        //.def("getSBeacon", (osg::NodePtr& (osg::TexGenChunkBase::*)() )&osg::TexGenChunkBase::getSBeacon, return_value_policy< copy_const_reference >())
        .def("getSBeacon", (const osg::NodePtr& (osg::TexGenChunkBase::*)() const)&osg::TexGenChunkBase::getSBeacon, return_value_policy< copy_const_reference >())
        //.def("getTBeacon", (osg::NodePtr& (osg::TexGenChunkBase::*)() )&osg::TexGenChunkBase::getTBeacon, return_value_policy< copy_const_reference >())
        .def("getTBeacon", (const osg::NodePtr& (osg::TexGenChunkBase::*)() const)&osg::TexGenChunkBase::getTBeacon, return_value_policy< copy_const_reference >())
        //.def("getRBeacon", (osg::NodePtr& (osg::TexGenChunkBase::*)() )&osg::TexGenChunkBase::getRBeacon, return_value_policy< copy_const_reference >())
        .def("getRBeacon", (const osg::NodePtr& (osg::TexGenChunkBase::*)() const)&osg::TexGenChunkBase::getRBeacon, return_value_policy< copy_const_reference >())
        //.def("getQBeacon", (osg::NodePtr& (osg::TexGenChunkBase::*)() )&osg::TexGenChunkBase::getQBeacon, return_value_policy< copy_const_reference >())
        .def("getQBeacon", (const osg::NodePtr& (osg::TexGenChunkBase::*)() const)&osg::TexGenChunkBase::getQBeacon, return_value_policy< copy_const_reference >())
        .def("setGenFuncS", &osg::TexGenChunkBase::setGenFuncS)
        .def("setGenFuncT", &osg::TexGenChunkBase::setGenFuncT)
        .def("setGenFuncR", &osg::TexGenChunkBase::setGenFuncR)
        .def("setGenFuncQ", &osg::TexGenChunkBase::setGenFuncQ)
        .def("setGenFuncSPlane", &osg::TexGenChunkBase::setGenFuncSPlane)
        .def("setGenFuncTPlane", &osg::TexGenChunkBase::setGenFuncTPlane)
        .def("setGenFuncRPlane", &osg::TexGenChunkBase::setGenFuncRPlane)
        .def("setGenFuncQPlane", &osg::TexGenChunkBase::setGenFuncQPlane)
        .def("setSBeacon", &osg::TexGenChunkBase::setSBeacon)
        .def("setTBeacon", &osg::TexGenChunkBase::setTBeacon)
        .def("setRBeacon", &osg::TexGenChunkBase::setRBeacon)
        .def("setQBeacon", &osg::TexGenChunkBase::setQBeacon)
        .def("getBinSize", &osg::TexGenChunkBase::getBinSize)
        .def("copyToBin", &osg::TexGenChunkBase::copyToBin)
        .def("copyFromBin", &osg::TexGenChunkBase::copyFromBin)
        .def("create", &osg::TexGenChunkBase::create)
        .def("createEmpty", &osg::TexGenChunkBase::createEmpty)
        .def("shallowCopy", &osg::TexGenChunkBase::shallowCopy)
        .staticmethod("getClassType")
        .staticmethod("create")
        .staticmethod("createEmpty")
        .staticmethod("getClassTypeId")
    );

    scope().attr("SBeaconFieldId") = (int)osg::TexGenChunkBase::SBeaconFieldId;
    scope().attr("GenFuncRPlaneFieldId") = (int)osg::TexGenChunkBase::GenFuncRPlaneFieldId;
    scope().attr("TBeaconFieldId") = (int)osg::TexGenChunkBase::TBeaconFieldId;
    scope().attr("RBeaconFieldId") = (int)osg::TexGenChunkBase::RBeaconFieldId;
    scope().attr("GenFuncQPlaneFieldId") = (int)osg::TexGenChunkBase::GenFuncQPlaneFieldId;
    scope().attr("NextFieldId") = (int)osg::TexGenChunkBase::NextFieldId;
    scope().attr("QBeaconFieldId") = (int)osg::TexGenChunkBase::QBeaconFieldId;
    scope().attr("GenFuncQFieldId") = (int)osg::TexGenChunkBase::GenFuncQFieldId;
    scope().attr("GenFuncRFieldId") = (int)osg::TexGenChunkBase::GenFuncRFieldId;
    scope().attr("GenFuncSPlaneFieldId") = (int)osg::TexGenChunkBase::GenFuncSPlaneFieldId;
    scope().attr("GenFuncTPlaneFieldId") = (int)osg::TexGenChunkBase::GenFuncTPlaneFieldId;
    scope().attr("GenFuncSFieldId") = (int)osg::TexGenChunkBase::GenFuncSFieldId;
    scope().attr("GenFuncTFieldId") = (int)osg::TexGenChunkBase::GenFuncTFieldId;

    delete osg_TexGenChunkBase_scope;

    class_< osg::TexGenChunk, bases< osg::TexGenChunkBase > , boost::noncopyable, osg::TexGenChunkRefPtr >("TexGenChunk", no_init)
        .def("getStaticClassId", &osg::TexGenChunk::getStaticClassId)
        .def("changed", &osg::TexGenChunk::changed)
        .def("dump", &osg::TexGenChunk::dump, osg_TexGenChunk_dump_overloads_0_2())
        .def("activate", &osg::TexGenChunk::activate, osg_TexGenChunk_activate_overloads_1_2())
        .def("changeFrom", &osg::TexGenChunk::changeFrom, osg_TexGenChunk_changeFrom_overloads_2_3())
        .def("deactivate", &osg::TexGenChunk::deactivate, osg_TexGenChunk_deactivate_overloads_1_2())
        .def("switchCost", &osg::TexGenChunk::switchCost)
        .staticmethod("getStaticClassId")
        //.def( self < other< osg::StateChunk >() )
        //.def( self == other< osg::StateChunk >() )
        //.def( self != other< osg::StateChunk >() )
    ;


    register_ptr_to_python<osg::TexGenChunkPtr>();
    implicitly_convertible<osg::TexGenChunkRefPtr, osg::TexGenChunkPtr>();
    implicitly_convertible<osg::TexGenChunkPtr, osg::StateChunkPtr>();

    def("RefPtr", &pyopensg::ToRefPtr<osg::TexGenChunkPtr>);
    def("FCPtr", &pyopensg::ToFcPtr<osg::TexGenChunkPtr>);
}

